09. Freedom from Interference - Temporal
L6 15 Freedom From Interference Temporal
Solving Deadlocks
There are various algorithms for avoiding deadlocks including a measure called disabling interrupts. When interrupts are enabled, one process can interrupt another process. So in our example, thread one needs resource B and is trying to grab A. But thread two keeps interrupting thread one to grab A back. Disabling interrupts would allow thread one to grab A.
Mechanisms for Freedom from Temporal Interference
Mechanisms to avoid temporal interference include cyclic execution scheduling, fixed priority based scheduling, time triggered scheduling, monitoring of processor execution time, program sequence monitoring, and arrival rate monitoring.